import request from "assets/utils/request";
import uploadrequest from "assets/utils/uploadrequest";
export const uploadvideo = data => {
    return uploadrequest({
        method: 'post',
        url: '/oa/work/upload',
        data
    })
}
export const mergeVideo = data => {
    return request({
        method: 'post',
        url: '/oa/work/upload/merge',
        data
    })
}
export const searchMD5 = data => {
    return request({
        method: 'post',
        url: '/oa/work/upload/searchmd5',
        data
    })
}
export const checkuploadfile = data => {
    return request({
        method: 'post',
        url: '/oa/work/upload/checkuploadfile',
        data
    })
}
export const updateWorkStatus = data => {
  return request({
      method: 'post',
      url: '/oa/work/updateWorkStatus',
      data
  })
}
export const applyVideo = data => {
  return request({
      method: 'post',
      url: '/oa/work/applyVideo',
      data
  })
}
export const getApplyedVideo = data => {
  return request({
      method: 'post',
      url: '/oa/work/getApplyedVideo',
      data
  })
}
export const updateVideoApplyStatus = data => {
  return request({
      method: 'post',
      url: '/oa/work/updateVideoApplyStatus',
      data
  })
}
export const refreshApplyVideo = data => {
  return request({
      method: 'post',
      url: '/oa/work/refreshApplyVideo',
      data
  })
}
export const sendApplyEamil = data => {
  return request({
      method: 'post',
      url: '/oa/work/sendApplyEamil',
      data
  })
}
export const getNasProjectFolder = data => {
  return request({
      method: 'post',
      url: '/oa/work/getNasProjectFolder',
      data
  })
}
export const uploadNasVideo = data => {
  return request({
      method: 'post',
      url: '/oa/work/uploadNasVideo',
      data
  })
}
